﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucCorporate.ascx.cs" Inherits="Corporate_UcControl_ucCorporate" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<style type="text/css">
.right_text input
{
	/*margin-left:20px;*/
}
</style>
<div class="con_left">
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <table>
                    <asp:ListView ID="lvMenu" runat="server" GroupItemCount="2" GroupPlaceholderID="layoutTemplate"
                        ItemPlaceholderID="groupPlaceholder">
                        <LayoutTemplate>
                            <table id="layoutTemplate" runat="server" border="0" cellpadding="0" cellspacing="0">
                            </table>
                        </LayoutTemplate>
                        <GroupTemplate>
                            <tr>
                                <div id="groupPlaceholder" runat="server">
                                </div>
                            </tr>
                        </GroupTemplate>
                        <ItemTemplate>
                            <td>
                                <asp:HyperLink ID="lnkItemDetails" runat="server" NavigateUrl="">
                                    <div class="productItemStyle" price='<%# Eval("Price") %>' matchedprice='0' code='<%# Eval("IDMenu") %>'>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td align="center" style="padding: 5px">
                                                    <table>
                                                        <tr>
                                                            <tr>
                                                                <td align="center" id="rollover">
                                                                    <a id="A1" rel="lightbox-mygallery" runat="server" title='<%# Eval("MenuName") %>'
                                                                        href='<%# "~/ImageProcess.ashx?file=" + "~/Admin/img/ImageMenu/" + Eval("ImageURL")  %>'>
                                                                        <asp:Image ID="img" runat="server" ImageUrl='<%# "~/ImageProcess.ashx?file=" + "~/Admin/img/ImageMenu/" + Eval("ImageURL") + "&width=200&heigh=200&dd=true" %>'
                                                                            AlternateText="No Image" />
                                                                    </a>
                                                                </td>
                                                            </tr>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </asp:HyperLink>
                            </td>
                        </ItemTemplate>
                    </asp:ListView>
                </table>
            </td>
        </tr>
    </table>
    <div class="class_right_margin" style="text-align: center">
        <p class="font_size">
            1/239 Canley Vale Rd, Canley Heights NSW 2166, Australia.</p>
        <p>
            Mobile Phone: 042 393 2222
            <br>
            Telephone: 9728 3338
            <br>
            FAX: xx xxx xxx
            <br>
            E-mail: <a href="">m@mprsc.com</a>
        </p>
    </div>
</div>
<div class="con_right">
    <div>
        <div class="spacer1" style="text-align: left">
            <span>Order</span>
        </div>
    </div>
    <div class="right_title">
        <img src="../Wedding/images/icon.png" />
        Customer Information
    </div>
    <div>
        <div class="class_right_margin">
            <div class="right_font">
                Fist Name :</div>
            <div class="right_text">
                <asp:TextBox ID="txt_fistname" runat="server" Width="200px" Height="20px"></asp:TextBox>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Last Name :</div>
            <div class="right_text">
                <asp:TextBox ID="txt_lastname" runat="server" Width="200px" Height="20px"></asp:TextBox>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Address :</div>
            <div class="right_text">
                <asp:TextBox ID="txt_address" runat="server" Width="200px" Height="20px"></asp:TextBox>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Mobile phone :</div>
            <div class="right_text">
                <asp:TextBox ID="txtmobilephone" runat="server" Width="200px" Height="20px" ValidationGroup="save"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
                    ValidationGroup="save" ControlToValidate="txtmobilephone"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Email :</div>
            <div class="right_text">
                <asp:TextBox ID="txt_email" runat="server" Width="200px" Height="20px" ValidationGroup="save"></asp:TextBox>
                <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="txt_email"
                    WatermarkCssClass="clsWaterMarkRequiredField" WatermarkText="email@user.com">
                </asp:TextBoxWatermarkExtender>
                &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txt_email"
                    runat="server" ErrorMessage="*" SetFocusOnError="True" Display="Static" ValidationGroup="save"></asp:RequiredFieldValidator>&nbsp;
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="*"
                    Display="Static" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                    ControlToValidate="txt_email" SetFocusOnError="True" ValidationGroup="save"></asp:RegularExpressionValidator>
            </div>
        </div>
    </div>
    <div class="right_title">
        <img src="../Wedding/images/icon.png" />Order Detail
    </div>
    <div style="margin-top: 10px;">
        <div class="class_right_margin">
            <div class="right_font">
                Meal :</div>
            <div class="right_text">
                <asp:DropDownList ID="drMeal" runat="server" Width="200px" Height="24px">
                    <asp:ListItem Value="0" Text="Noon"></asp:ListItem>
                    <asp:ListItem Value="1" Text="Afternoon"></asp:ListItem>
                    <asp:ListItem Value="2" Text="Evening"></asp:ListItem>
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*"
                    ValidationGroup="save" ControlToValidate="drMeal"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Number Tables :</div>
            <div class="right_text">
                <asp:ComboBox ID="cbNumberPoeple" runat="server" AutoCompleteMode="Append" Width="171px"
                    Height="20px">
                    <asp:ListItem Value="0" Text=" -- Select Number --"></asp:ListItem>
                    <asp:ListItem Value="1" Text="10"></asp:ListItem>
                    <asp:ListItem Value="2" Text="15"></asp:ListItem>
                    <asp:ListItem Value="3" Text="20"></asp:ListItem>
                    <asp:ListItem Value="4" Text="25"></asp:ListItem>
                    <asp:ListItem Value="5" Text="30"></asp:ListItem>
                    <asp:ListItem Value="6" Text="35"></asp:ListItem>
                    <asp:ListItem Value="7" Text="40"></asp:ListItem>
                    <asp:ListItem Value="8" Text="45"></asp:ListItem>
                    <asp:ListItem Value="9" Text="50"></asp:ListItem>
                    <asp:ListItem Value="10" Text="55"></asp:ListItem>
                    <asp:ListItem Value="11" Text="60"></asp:ListItem>
                    <asp:ListItem Value="12" Text="65"></asp:ListItem>
                    <asp:ListItem Value="13" Text="70"></asp:ListItem>
                    <asp:ListItem Value="14" Text="75"></asp:ListItem>
                    <asp:ListItem Value="15" Text="80"></asp:ListItem>
                    <asp:ListItem Value="16" Text="85"></asp:ListItem>
                    <asp:ListItem Value="17" Text="90"></asp:ListItem>
                    <asp:ListItem Value="18" Text="95"></asp:ListItem>
                    <asp:ListItem Value="19" Text="100"></asp:ListItem>
                </asp:ComboBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="*"
                    ValidationGroup="save" ControlToValidate="cbNumberPoeple"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Day of the :</div>
            <div class="right_text">
                <asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txt_day"
                    Format="dd/MM/yyyy">
                </asp:CalendarExtender>
                <asp:TextBox ID="txt_day" runat="server" Width="196px" Height="20px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="*"
                    ValidationGroup="save" ControlToValidate="txt_day"></asp:RequiredFieldValidator>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Time :</div>
            <div class="right_text">
                <asp:DropDownList ID="drTime" runat="server" Width="204px" Height="24px">
                    <asp:ListItem Value="0" Text="9 - 9h30"></asp:ListItem>
                    <asp:ListItem Value="1" Text="10 - 11h30"></asp:ListItem>
                    <asp:ListItem Value="2" Text="13h - 13h30"></asp:ListItem>
                </asp:DropDownList>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Menu :</div>
            <div class="right_text">
                <asp:UpdatePanel ID="up" runat="server">
                    <ContentTemplate>
                        <asp:DropDownList ID="drMenu" runat="server" Width="204px" Height="24px" AutoPostBack="true"
                            OnSelectedIndexChanged="drMenu_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Wedding/ListMenu.aspx"
                            Target="_blank">Menu Detail</asp:HyperLink>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="drMenu" EventName="SelectedIndexChanged" />
                    </Triggers>
                </asp:UpdatePanel>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Price :</div>
            <div class="right_text">
                <asp:UpdatePanel ID="upPanel" runat="server">
                    <ContentTemplate>
                        <asp:TextBox ID="txtPrice" runat="server" Width="200px" Height="20px" AutoPostBack="true"></asp:TextBox>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_font">
                Note :</div>
            <div class="right_text">
                <asp:TextBox ID="txtNode" runat="server" TextMode="MultiLine" Width="200px"></asp:TextBox>
            </div>
        </div>
        <div class="class_right_margin">
            <div class="right_button">
                <asp:Button ID="bt_set" runat="server" Text="Set Party" Style="background: #F90;
                    font-weight: bold" OnClick="bt_set_Click" ValidationGroup="save" />
                <asp:Button ID="bt_reset" runat="server" Text="Reset" Style="background: #F90; font-weight: bold"
                    OnClick="bt_reset_Click" />
            </div>
        </div>
    </div>
</div>
